package com.yonyou.ucf.mdf.sample.bill.entity;

import com.yonyou.iuap.yms.annotation.YMSEntity;
import java.math.BigDecimal;
import java.util.Date;
import com.yonyou.ypd.bill.basic.entity.SuperDO;

/**
 * @author root
 * @description dhf_经费卡
 * @Date 2024-10-29 11:15:03
 * @since 2023/11/28
 **/
@YMSEntity(name = "zyhyspring2024.zyhyspring2024.dhf_card", domain = "zyhyspring2024")
public class DhfCard extends SuperDO {
    public static final String ENTITY_NAME = "zyhyspring2024.zyhyspring2024.dhf_card";
    public static final String PROJECT = "project";
    public static final String FINANCE_ORG = "finance_org";
    public static final String BILL_DATE = "bill_date";
    public static final String BUDGET = "budget";
    public static final String TOTAL_BUDGET = "total_budget";
    public static final String ACTUAL_BUDGET = "actual_budget";
    public static final String CARD_TYPE = "card_type";
    public static final String CARD_STATUS = "card_status";
    public static final String ACTUAL_OCCUPY = "actual_occupy";
    public static final String ACTUAL_MODIFY = "actual_modify";
    public static final String CARD_ENABLE = "card_enable";
    public static final String REMARK = "remark";
    public static final String YTENANTID = "ytenantId";
    public static final String CREATETIME = "createTime";
    public static final String MODIFYTIME = "modifyTime";
    public static final String CREATOR = "creator";
    public static final String MODIFIER = "modifier";
    public static final String ID = "id";
    public static final String PUBTS = "pubts";
    public static final String CODE = "code";
    public static final String BIZFLOWID = "bizflowId";
    public static final String BIZFLOWNAME = "bizflowName";
    public static final String SOURCEID = "sourceId";
    public static final String SOURCECHILDID = "sourceChildId";
    public static final String BIZFLOWINSTANCEID = "bizFlowInstanceId";
    public static final String SOURCEBUSIOBJ = "sourceBusiObj";
    public static final String SOURCECODE = "sourceCode";
    public static final String BIZFLOWMAKEBILLCODE = "bizFlowMakeBillCode";
    public static final String SOURCEGRANDID = "sourceGrandId";
    public static final String FIRSTID = "firstId";
    public static final String FIRSTCHILDID = "firstChildId";
    public static final String FIRSTBUSIOBJ = "firstBusiObj";
    public static final String FIRSTCODE = "firstCode";
    public static final String DR = "dr";
    public static final String VERIFYSTATE = "verifyState";
    public static final String AUDITOR = "auditor";
    public static final String AUDITTIME = "auditTime";
    public static final String AUDITNOTE = "auditNote";
    public static final String PROCINSTID = "procinstId";

    /* 项目 */
    private String project;
    /* 财务组织 */
    private String finance_org;
    /* 单据日期 */
    private String bill_date;
    /* 下拨预算 */
    private BigDecimal budget;
    /* 经费总额 */
    private BigDecimal total_budget;
    /* 实际可用经费余额 */
    private BigDecimal actual_budget;
    /* 类型 */
    private String card_type;
    /* 状态 */
    private String card_status;
    /* 实际占用 */
    private BigDecimal actual_occupy;
    /* 实际调整数 */
    private BigDecimal actual_modify;
    /* 启用状态 */
    private String card_enable;
    /* 备注 */
    private String remark;
    /* 租户id */
    private String ytenantId;
    /* 创建时间 */
    private Date createTime;
    /* 修改时间 */
    private Date modifyTime;
    /* 创建人 */
    private String creator;
    /* 修改人 */
    private String modifier;
    /* id */
    private String id;
    /* pubts */
    private Date pubts;
    /* 编码 */
    private String code;
    /* 业务流id */
    private String bizflowId;
    /* 流程名称 */
    private String bizflowName;
    /* 上游单据主表id */
    private String sourceId;
    /* 上游单据子表id */
    private String sourceChildId;
    /* 业务流实例id */
    private String bizFlowInstanceId;
    /* 上游业务对象 */
    private String sourceBusiObj;
    /* 上游单据号 */
    private String sourceCode;
    /* 单据转换规则编码 */
    private String bizFlowMakeBillCode;
    /* 来源孙表id */
    private String sourceGrandId;
    /* 来源单据主表id */
    private String firstId;
    /* 来源单据子表id */
    private String firstChildId;
    /* 来源业务对象 */
    private String firstBusiObj;
    /* 来源单据号 */
    private String firstCode;
    /* 逻辑删除 */
    private Short dr;
    /* 单据状态 */
    private Short verifyState;
    /* 终审审批人 */
    private String auditor;
    /* 审批日期 */
    private Date auditTime;
    /* 当前审批人 */
    private String auditNote;
    /* 流程实例ID */
    private String procinstId;

    public void setProject(String project) {
        this.project = project;
    }

    public void setFinance_org(String finance_org) {
        this.finance_org = finance_org;
    }

    public void setBill_date(String bill_date) {
        this.bill_date = bill_date;
    }

    public void setBudget(BigDecimal budget) {
        this.budget = budget;
    }

    public void setTotal_budget(BigDecimal total_budget) {
        this.total_budget = total_budget;
    }

    public void setActual_budget(BigDecimal actual_budget) {
        this.actual_budget = actual_budget;
    }

    public void setCard_type(String card_type) {
        this.card_type = card_type;
    }

    public void setCard_status(String card_status) {
        this.card_status = card_status;
    }

    public void setActual_occupy(BigDecimal actual_occupy) {
        this.actual_occupy = actual_occupy;
    }

    public void setActual_modify(BigDecimal actual_modify) {
        this.actual_modify = actual_modify;
    }

    public void setCard_enable(String card_enable) {
        this.card_enable = card_enable;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public void setYtenantId(String ytenantId) {
        this.ytenantId = ytenantId;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setPubts(Date pubts) {
        this.pubts = pubts;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public void setBizflowId(String bizflowId) {
        this.bizflowId = bizflowId;
    }

    public void setBizflowName(String bizflowName) {
        this.bizflowName = bizflowName;
    }

    public void setSourceId(String sourceId) {
        this.sourceId = sourceId;
    }

    public void setSourceChildId(String sourceChildId) {
        this.sourceChildId = sourceChildId;
    }

    public void setBizFlowInstanceId(String bizFlowInstanceId) {
        this.bizFlowInstanceId = bizFlowInstanceId;
    }

    public void setSourceBusiObj(String sourceBusiObj) {
        this.sourceBusiObj = sourceBusiObj;
    }

    public void setSourceCode(String sourceCode) {
        this.sourceCode = sourceCode;
    }

    public void setBizFlowMakeBillCode(String bizFlowMakeBillCode) {
        this.bizFlowMakeBillCode = bizFlowMakeBillCode;
    }

    public void setSourceGrandId(String sourceGrandId) {
        this.sourceGrandId = sourceGrandId;
    }

    public void setFirstId(String firstId) {
        this.firstId = firstId;
    }

    public void setFirstChildId(String firstChildId) {
        this.firstChildId = firstChildId;
    }

    public void setFirstBusiObj(String firstBusiObj) {
        this.firstBusiObj = firstBusiObj;
    }

    public void setFirstCode(String firstCode) {
        this.firstCode = firstCode;
    }

    public void setDr(Short dr) {
        this.dr = dr;
    }

    public void setVerifyState(Short verifyState) {
        this.verifyState = verifyState;
    }

    public void setAuditor(String auditor) {
        this.auditor = auditor;
    }

    public void setAuditTime(Date auditTime) {
        this.auditTime = auditTime;
    }

    public void setAuditNote(String auditNote) {
        this.auditNote = auditNote;
    }

    public void setProcinstId(String procinstId) {
        this.procinstId = procinstId;
    }

    public String getProject() {
        return project;
    }

    public String getFinance_org() {
        return finance_org;
    }

    public String getBill_date() {
        return bill_date;
    }

    public BigDecimal getBudget() {
        return budget;
    }

    public BigDecimal getTotal_budget() {
        return total_budget;
    }

    public BigDecimal getActual_budget() {
        return actual_budget;
    }

    public String getCard_type() {
        return card_type;
    }

    public String getCard_status() {
        return card_status;
    }

    public BigDecimal getActual_occupy() {
        return actual_occupy;
    }

    public BigDecimal getActual_modify() {
        return actual_modify;
    }

    public String getCard_enable() {
        return card_enable;
    }

    public String getRemark() {
        return remark;
    }

    public String getYtenantId() {
        return ytenantId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public String getCreator() {
        return creator;
    }

    public String getModifier() {
        return modifier;
    }


    public String getId() {
        return id;
    }

    public Date getPubts() {
        return pubts;
    }

    public String getCode() {
        return code;
    }

    public String getBizflowId() {
        return bizflowId;
    }

    public String getBizflowName() {
        return bizflowName;
    }

    public String getSourceId() {
        return sourceId;
    }

    public String getSourceChildId() {
        return sourceChildId;
    }

    public String getBizFlowInstanceId() {
        return bizFlowInstanceId;
    }

    public String getSourceBusiObj() {
        return sourceBusiObj;
    }

    public String getSourceCode() {
        return sourceCode;
    }

    public String getBizFlowMakeBillCode() {
        return bizFlowMakeBillCode;
    }

    public String getSourceGrandId() {
        return sourceGrandId;
    }

    public String getFirstId() {
        return firstId;
    }

    public String getFirstChildId() {
        return firstChildId;
    }

    public String getFirstBusiObj() {
        return firstBusiObj;
    }

    public String getFirstCode() {
        return firstCode;
    }

    public Short getDr() {
        return dr;
    }

    public Short getVerifyState() {
        return verifyState;
    }

    public String getAuditor() {
        return auditor;
    }

    public Date getAuditTime() {
        return auditTime;
    }

    public String getAuditNote() {
        return auditNote;
    }

    public String getProcinstId() {
        return procinstId;
    }

    public String getFullName() {
        if (super.getFullName() != null && super.getFullName().indexOf("#PT#.") != -1) {
            return super.getFullName();
        } else {
            return ENTITY_NAME;
        }
    }
}
